package com.kb.design.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * (CustomUser)实体类
 *
 * @author makejava
 * @since 2023-08-22 10:57:05
 */
@Data
@TableName("design_custom_user")
public class CustomUserDTO implements Serializable {
    private static final long serialVersionUID = -27900783594188516L;
    private Integer  pageNo = 1;
    private Integer pageSize = 10;

    private Long id;

    /**
     * 客户名称对应爱速搭的 user表的nick_name
     */
    private String name;
    private String name2;
    /**
     * 客户code 对应爱速搭的 user表的name
     */
    private String code;
    
    private String email;
    
    private String phone;
    /**
     * 部门id
     */
    private Long deptId;
    @TableField(exist = false)
    private List<String> deptIdList;
    /**
     * 父类id 用于查询自己创建的用户
     */
//    private Long parentId;
    /**
     * '用户性别（0男 1女 2未知）'
     */
    private String sex;
    
    private String password;
    /**
     * '帐号状态（0正常 1停用）'
     */
    private String status;
    /**
     *  '删除标志（0代表存在 2代表删除）',
     */
    private String delFlag;
    /**
     * 备注
     */
    private String remark;
    
    private Long createById;
    
    private String createByName;
    
    private Long updateById;
    
    private String updateByName;
    
    private LocalDateTime createTime;
    
    private LocalDateTime updateTime;
    /** 目标PIN数 */
    private Integer targetPin;
}

